<?php


namespace Gaoop\Bundle\ApiBundle\Annotation;


use Doctrine\Common\Annotations\Annotation\Attribute;
use Doctrine\Common\Annotations\Annotation\Attributes;
use Doctrine\Common\Annotations\Annotation\Target;

/**
 * Class ApiAuthority
 * @package App\Annotations
 *
 * @Annotation
 * @Target({"METHOD"})
 * @Attributes({
 *     @Attribute("need", type="string")
 * })
 */
class ApiAuthority {

    /**
     * 所需权限
     * @Required
     * @var string
     */
    public $need;

}